import React from 'react'
import { VolumeO } from '@react-vant/icons'
import { NoticeBar, Swiper } from 'react-vant'
function Calcenter() {
  return (
    <div className='demo-notice-bar'>
      <NoticeBar leftIcon={<VolumeO />}>
        <Swiper
          autoplay={1000}
          indicator={false}
          vertical
          className='notice-swipe'
        >
          <Swiper.Item>内容 1</Swiper.Item>
          <Swiper.Item>内容 2</Swiper.Item>
          <Swiper.Item>内容 3</Swiper.Item>
          <Swiper.Item>内容 4</Swiper.Item>
          <Swiper.Item>内容 5</Swiper.Item>
        </Swiper>
      </NoticeBar>
    </div>
  )
}

export default Calcenter